package com.example.schoolguider.mapper;

import com.example.schoolguider.model.Layer;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author wjc
 * @date 2024/7/26 10:49
 */
@Mapper
public interface LayerMapper {

    List<Layer> listLayer();

    List<Layer> listLayerByAreaId(@Param("areaId") Long areaId);

    boolean updateLayer(Layer layer);

    boolean addLayer(Layer layer);

    Layer getLayerById(Long id);
}
